|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface IModelSource
Interface to iterate over models.
Method Summary | |
---|---|
int |
getSize()
Returns the number of elements. |
boolean |
hasNext()
Method to check if more elements are there. |
Furniture |
next()
Gets the next element. |
Furniture |
next(int offset)
This methods works like next(), but allows to skip elements. |
Furniture |
previous()
Gets the previous element. |
void |
reset()
Resets and starts at the first element. |
void |
seek(Furniture furn)
Seeks the given furniture and remembers its position. |
Method Detail |
---|
void reset()
boolean hasNext()
Furniture next()
Furniture previous()
Furniture next(int offset)
offset
- The offset of elements
int getSize()
void seek(Furniture furn)
furn
- The furniture to seek
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |